package kr.co.doriclassic.pro05_01;

import java.util.Scanner;

public class ResPerson {
	public static void main(String[] args) {
		String sNa;
		int iAg;
		
		Scanner sc = new Scanner(System.in);
		
		System.out.print("이름 : ");
		sNa=sc.next();
		System.out.print("나이 : ");
		iAg=sc.nextInt();
		
		Person p = new Person(sNa, iAg);
		p.pPersonInfo();
	}
}
